import Vue from 'vue'
import Router from 'vue-router'
import Login from "../views/Login";
import Backstage from "../views/Backstage";
import signature from "../components/backstage/signature";
import Submit from "../components/backstage/Submit";
import State from "../components/backstage/State";
Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path:'/',
      component:Login,
      meta:{
        title: '综测评分登入中心'
      }
    },
    {
      path:'/backstage',
      component:Backstage,
      children:[
        {
          path:'',
          component:Submit,
          meta:{
            title: '综测评分 - 综测无纸化测评系统'
          },

        },
        {
          path:'state',
          component:State,
          meta:{
            title: '班级管理 - 综测无纸化测评系统'
          }
        },
      ]
    },
    {
      path:'/test',
      component:signature
    }


  ]
})
